package com.firmail.cloud.mcenter.service;

import com.firmail.cloud.mcenter.IMockCenterServ;
import com.firmail.mock.center.api.vo.MockMetadata;
import com.firmail.mock.common.model.ReturnData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.IOException;

@Service
public class MockCenterCloudServ implements IMockCenterServ {

	//@Qualifier("")
	@Autowired
	IMockCenterServ mockCenterService;

	@Override
	public ReturnData<?> createCrossPlfMock(MockMetadata data) throws IOException {
		return mockCenterService.createCrossPlfMock(data);
	}

	@Override
	public ReturnData<String> createMock(MockMetadata data) {
		
		return mockCenterService.createMock(data) ;
	}

}
